package com.ykj.service;

import com.ykj.dto.Result;
import com.ykj.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Y2014188432
 * @since 2022-05-14
 */
public interface CommentService extends IService<Comment> {

    Result getCommentByPostsId(String postsId);

    Result createComment(Comment comment);

    Result getAll();
}
